package org.witsoft.dtx.domain;

import lombok.Data;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author XiaoQing Lin
 * @date 2020-09-18 18:35
 */
@Data
@RequiredArgsConstructor
public class GlobalTransaction {

    @NonNull
    private String id;

    private int timeout;

    private GlobalStatus status;

    private Timestamp createTime;

    private Timestamp updateTime;
}
